﻿using STF.Blog.Dtos;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace STF.Blog.IService
{
    public interface ICopyrightService
    {
        public Task<int> AddUsersAsync(string title, string details, string images,string logo,string address,
                                        string tel1, string tel2, string qq1, string qq2, string email);
        public Task<int> UpdateUsersAsync(int id, string title, string details, string images, string logo, string address,
                                        string tel1, string tel2, string qq1, string qq2, string email);
        public Task<int> PutTrashAsync(int id);
        public Task<int> RestoreAsync(int id);
        public Task<int> DeleteUsersAsync(int id);
        public Task<List<CopyrightDto>> GetAllUsersAsync(int deleteId = 1);

        public Task<List<CopyrightDto>> GetDateByName(string title, int deleteid = 1);
    }
}
